package com.example.design.pattern.create.factorymethod.impl;

import com.example.design.pattern.create.factorymethod.DataSource;
import com.example.design.pattern.create.factorymethod.DataSourceFactory;

public class UnpooledDataSourceFactory implements DataSourceFactory {

    private DataSource dataSource;

    public UnpooledDataSourceFactory() {
        this.dataSource = new UnpooledDataSource();
    }
    
    @Override
    public DataSource getDataSource() {
        return dataSource;
    }

}
